package com.fawkes.smartworking.helper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cxnp.smartworking.domain.Device;
import com.cxnp.smartworking.vo.device.DeviceVO;
import com.fawkes.core.base.api.ApiResponseBody;
import com.fawkes.smartworking.helper.BaseController;
import com.fawkes.smartworking.mapper.device.DeviceMapper;

/**
 * @author xuetieqi
 * @date 2023/4/23 1:03 PM
 **/
public class TestController extends BaseController<TDeviceServiceImpl,DeviceMapper,TDeviceHelper,
        Device, Long, Device, Long, Device, DeviceVO, Device> {
    @Override
    ApiResponseBody add(Device add) {
        return super.add(add);
    }

    @Override
    ApiResponseBody delete(Long delete) {
        return super.delete(delete);
    }

    @Override
    ApiResponseBody update(Device update) {
        return super.update(update);
    }

    @Override
    ApiResponseBody<DeviceVO> get(Long get) {
        return super.get(get);
    }

    @Override
    ApiResponseBody<IPage<DeviceVO>> list(Device query) {
        return super.list(query);
    }
}
